/***********************************************************************/
/*  This file is part of the ARM Toolchain package                     */
/*  Copyright KEIL ELEKTRONIK GmbH 2003 - 2010                         */
/***********************************************************************/
/*                                                                     */
/*  FlashDev.C:  Device Description for EasyARM-RT1052 QSPI Flash      */
/*               64Mbit = 8MB MX25L6436F                               */
/***********************************************************************/

#include "FlashOS.H"        // FlashOS Structures

struct FlashDevice const FlashDevice  =
{
	FLASH_DRV_VERS,             // Driver Version, do not modify!
	"LPC5506_W25Q32", 					 // Device Name (W25Q64JVSSIQ)
	EXTSPI,                     // Device Type
	0x00000000,                 // Device Start Address
	0x01000000,                 // Device Size in Bytes (16MB=128Mb)
	512,                        // Programming Page Size  //yangliang from 256 to 512
	0,                          // Reserved, must be 0
	0xFF,                       // Initial Content of Erased Memory
	3000,                     // Program Page Timeout 150000 mSec
	3000,                     // Erase Sector Timeout 150000 mSec

// Specify Size and Address of Sectors
	0x1000, 0x00000,           // Sector Size 4kB (2048 Sectors)	//yangliang from 0x10000 to 0x8000
	SECTOR_END
};

